import java.util.Scanner;

public class demo01 {
//    计算糖果
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int n1 = sc.nextInt();
        int n2 = sc.nextInt();
        int n3 = sc.nextInt();
        int n4 = sc.nextInt();
        int a = (n1 + n3) / 2;
        int b = (n2 + n4) / 2;
        int b1 = (n3 - n1) / 2;
        int c = (n4 - n2) / 2;
        if (b != b1) {
            System.out.println("No");
        } else {
            System.out.println(a + " " + b + " " + c);
        }
    }
}

